<template>
    <div>
        <Modal v-model="modal.detail" title="详情" width="1020">
            <div class="detail-info">
                <Row>
	<i-col span="12"><span class="detail-title">用户编号：</span><span v-text="form.userId"></span></i-col>
<i-col span="12"><span class="detail-title">手机号：</span><span v-text="form.userPhone"></span></i-col>


	<i-col span="12"><span class="detail-title">用户邮箱：</span><span v-text="form.userEmail"></span></i-col>
<i-col span="12"><span class="detail-title">昵称：</span><span v-text="form.userDetailNickname"></span></i-col>


	<i-col span="12"><span class="detail-title">头像地址：</span><span v-text="form.userDetailHeadicon"></span></i-col>
<i-col span="12"><span class="detail-title">消息编号：</span><span v-text="form.messageId"></span></i-col>


	<i-col span="12"><span class="detail-title">消息标题：</span><span v-text="form.messageTitle"></span></i-col>
<i-col span="12"><span class="detail-title">封面图片：</span><span v-text="form.messageCoverImg"></span></i-col>


	<i-col span="12"><span class="detail-title">消息摘要：</span><span v-text="form.messageSummary"></span></i-col>
<i-col span="12"><span class="detail-title">消息内容：</span><span v-text="form.messageContent"></span></i-col>


	<i-col span="12"><span class="detail-title">消息类型：</span><span v-text="form.messageMessageType"></span></i-col>
<i-col span="12"><span class="detail-title">关联页面链接：</span><span v-text="form.messageLinkPageUrl"></span></i-col>


	<i-col span="12"><span class="detail-title">关联页面参数：</span><span v-text="form.messageLinkParams"></span></i-col>
<i-col span="12"><span class="detail-title">是否已读：</span><span v-text="form.userMessageIsRead"></span></i-col>


	<i-col span="12"><span class="detail-title">版本号：</span><span v-text="form.userMessageVersion"></span></i-col>
<i-col span="12"><span class="detail-title">创建时间：</span><span v-text="form.userMessageCreateTime"></span></i-col>


	<i-col span="12"><span class="detail-title">更新时间：</span><span v-text="form.userMessageUpdateTime"></span></i-col>
<i-col span="12"><span class="detail-title">是否激活：</span><span v-text="form.userMessageIsActive"></span></i-col>

</Row>

            </div>
        </Modal>
    </div>
</template>

<script>
	import * as utils from '@/api/utils-v2'
	import * as ResponseStatus from '@/api/response-status'
    export default {
        name: 'UserUserMessageDetail',
        data() {
            return {
                modal: {
                    detail: false
                },
				dataDictCodes: ['IS_ACTIVE'],
				dataDictItems: {},
                form: {
                    userId: null,
userPhone: null,
userEmail: null,
userDetailNickname: null,
userDetailHeadicon: null,
messageId: null,
messageTitle: null,
messageCoverImg: null,
messageSummary: null,
messageContent: null,
messageMessageType: null,
messageLinkPageUrl: null,
messageLinkParams: null,
userMessageIsRead: null,
userMessageVersion: null,
userMessageCreateTime: null,
userMessageUpdateTime: null,
userMessageIsActive: null,

                }
            }
        },
        computed: {},
        mounted() {},
        methods: {
			getDictItemsDisplayValue() {
				utils.getDataDict(this.dataDictCodes).then(response => {
				if (response) {
					this.dataDictItems = response
					
					utils.getDetailDictItemDisplayValue(this, 'IS_ACTIVE', 'userMessageIsActive')
				}
				}).catch(error => {
				console.log(error)
				})
			}
		}
    }
</script>

<style>

</style>
